package com.gtt.pattern.creational.builder;

/**
 * Motor Cycle Builder
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-2-24 08:49:03
 * 
 */
public class MotorCycleBuilder extends Builder {

    public MotorCycleBuilder() {
        this.product = new Product("摩托车");
    }

    @Override
    public void buildDoors() {
        this.product.setDoor("没有门");
    }

    @Override
    public void buildEngine() {
        this.product.setEngine("摩托引擎");
    }

    @Override
    public void buildFrame() {
        this.product.setFrame("125式");
    }

    @Override
    public void buildWheels() {
        this.product.setWheels("两轮");
    }

}
